home *** CD-ROM | disk | FTP | other *** search
/ The World's Largest Collection of Windows Software / The World's Largest Collection of Windows Software - Disc 1.iso / ed_int / wintutor / win31p.inf < prev   
Encoding:
Text File  |  1993-11-01  |  9.3 KB  |  381 lines

  1. Do Setup
  2. Do Install
  3. Do GoodBye
  4.  
  5. [Number1] := 0
  6. [Number2] := 0
  7.  
  8. Procedure Stop
  9.  
  10.   SetPopupBorderTo None
  11.  
  12.  
  13. Dialog UseHeader "System Requirements"
  14. This product is designed to run under DOS or Windows, 
  15. for a single user or for a network.
  16.  
  17. System Requirements:
  18.  
  19. IBM-compatible 286 or above
  20. At least 10MB of free disk space
  21. 640K memory
  22. Microsoft-compatible mouse
  23. VGA color monitor
  24. DOS 3.0 or higher
  25. Windows 3.1 - 386 enhanced mode (for Windows installation only)
  26.  
  27.  
  28. Press <Enter> or click <<OK>> to continue.
  29.  
  30. EndDialog
  31. Dialog    UseHeader "Other Requirements & Recommendations"
  32. CONFIG.SYS Requirements:
  33.  
  34. Your CONFIG.SYS must include at least the following:
  35.  
  36. FILES=40
  37. BUFFERS=25
  38.  
  39. System Recommendations:
  40.  
  41. IBM-compatible 386 or above
  42. DOS 5.0 or higher
  43. Printer attached to LPT1
  44. Expanded Memory Manager
  45.  
  46.  
  47. This product has been tested on Novell Netware v. 3.11.
  48.  
  49. Press <Enter> or click <<OK>> to continue.
  50. EndDialog
  51. Dialog    UseHeader "Mouse Requirement"
  52.  
  53. The Qwiz Windows 3.1 Tutorial will only run
  54. with a Microsoft-compatible, DOS-installed mouse.
  55.  
  56. Even if your mouse works in Windows, 
  57. you may not have a DOS-installed mouse driver.
  58.  
  59.  
  60. If you do not have a DOS-installed mouse, you will see the error message, 
  61. "mouse not installed," when you run Qwiz.
  62.  
  63. Refer to your mouse documentation for information
  64. on installing your mouse for DOS applications.
  65.  
  66. Press <Enter> or click <<OK>> to continue.
  67. EndDialog
  68. Dialog    UseHeader "Copying Diskettes"
  69. We encourage you to make copies of the Qwiz Windows 3.1 Tutorial.
  70.  
  71. These files are stored in compressed format.
  72.  
  73. To make copies, you must use DISKCOPY or select
  74. DISK/COPY DISK from the Windows File Manager Menu.
  75.  
  76. Note:  If you have Windows, we highly recommend using DISK/COPY DISK.
  77.  
  78. For information on copying diskettes, see the README file.
  79.  
  80. To print the README file, enter the following at the \WQWIZ or \DQWIZ prompt:
  81.  
  82. TYPE README>PRN
  83.  
  84. Press <Enter> or click <<OK>> to continue.
  85. EndDialog
  86. Dialog    UseHeader "Customer Service"
  87.  
  88.  
  89. For free Qwiz Customer Service, call
  90.  
  91. 1-800-367-2509 (US)
  92. 0727 868600 (UK)
  93.  
  94.  
  95. To cancel this installation, press <Esc>.
  96.  
  97.  
  98.  
  99. Press <Enter> or click <<OK>> to continue.
  100. EndDialog
  101.   SetPopupBorderTo single
  102. EndProcedure
  103.  
  104.  
  105. Procedure Stop_Dos
  106.  
  107.   SetPopupBorderTo None
  108.  
  109.  
  110. Dialog UseHeader "System Requirements"
  111. This product is designed to run under DOS or Windows, 
  112. for a single user or for a network.
  113.  
  114. System Requirements:
  115.  
  116. IBM-compatible 286 or above
  117. At least 10MB of free disk space
  118. 640K memory
  119. Microsoft-compatible mouse
  120. VGA color monitor
  121. DOS 3.0 or higher
  122. Windows 3.1 - 386 enhanced mode (for Windows installation only)
  123.  
  124.  
  125.  
  126. EndDialog
  127. Dialog    UseHeader "Other Requirements & Recommendations"
  128. CONFIG.SYS Requirements:
  129.  
  130. Your CONFIG.SYS must include at least the following:
  131.  
  132. FILES=40
  133. BUFFERS=25
  134.  
  135. System Recommendations:
  136.  
  137. IBM-compatible 386 or above
  138. DOS 5.0 or higher
  139. Printer attached to LPT1
  140. Expanded Memory Manager
  141.  
  142.  
  143. This product has been tested on Novell Netware v. 3.11.
  144.  
  145. EndDialog
  146. Dialog    UseHeader "Mouse Requirement"
  147.  
  148. The Qwiz Windows 3.1 Tutorial will only run
  149. with a Microsoft-compatible, DOS-installed mouse.
  150.  
  151. Even if your mouse works in Windows, 
  152. you may not have a DOS-installed mouse driver.
  153.  
  154.  
  155. If you do not have a DOS-installed mouse, you will see the error message, 
  156. "mouse not installed," when you run Qwiz.
  157.  
  158. Refer to your mouse documentation for information
  159. on installing your mouse for DOS applications.
  160.  
  161. EndDialog
  162. Dialog    UseHeader "Copying Diskettes"
  163. We encourage you to make copies of the Qwiz Windows 3.1 Tutorial.
  164.  
  165. These files are stored in compressed format.
  166.  
  167. To make copies, you must use DISKCOPY or select
  168. DISK/COPY DISK from the Windows File Manager Menu.
  169.  
  170. Note:  If you have Windows, we highly recommend using DISK/COPY DISK.
  171.  
  172. For information on copying diskettes, see the README file.
  173.  
  174. To print the README file, enter the following at the \WQWIZ or \DQWIZ prompt:
  175.  
  176. TYPE README>PRN
  177.  
  178. EndDialog
  179. Dialog    UseHeader "Customer Service"
  180.  
  181.  
  182. For free Qwiz Customer Service, call
  183.  
  184. 1-800-367-2509 (US)
  185. 0727 868600 (UK)
  186.  
  187.  
  188. EndDialog
  189.   SetPopupBorderTo single
  190. EndProcedure
  191.  
  192. Procedure Setup
  193. ;;    SetTraceMode On    
  194.     SetScreenAttrTo WhiteOnBlue
  195.     SetTopLineTo Qwiz Tutorial Installation
  196.       [string3] := WIN31P
  197.  
  198.      If  Windows
  199.  
  200.      else
  201.           Run  [InstallFromDirectory]\chkmouse.exe   NoPromt  Quietly        
  202.           [Number2] := DosExitCode
  203.           if DosErrorCode > 0
  204.               [Number1] := DosErrorCode
  205.             Exit
  206.            EndIf 
  207.  
  208.          if DosErrorCode > 0
  209.              [Number1] := DosErrorCode
  210.             exit
  211.           EndIf 
  212.           If DosExitCode = 255
  213.              [Number1] := 1
  214.             exit
  215.           EndIf 
  216.           if EMSVersion = 0
  217.              If DosExitCode >0
  218.                 If DosExitCode =1
  219.                    [Number1] := DosExitCode
  220.                    Exit
  221.                 EndIf
  222.             ;;  If  Windows
  223.             ;;      If DosExitCode  <113 ;;78+4*pionts  510 K free meory  each point 4k menory
  224.             ;;        [Number1] := DosExitCode
  225.             ;;         exit
  226.             ;;      EndIf
  227.             ;;  else
  228.                If DosExitCode  <20 ;; 430+ 4*points  510 K free meory each point 4k menory
  229.                 [Number1] := DosExitCode
  230.                Exit
  231.  
  232.               EndIf
  233.               EndIf
  234.         EndIf
  235.     EndIf 
  236.  
  237.     If  Windows
  238.            Do Stop                   
  239.         [string2] := WQWIZ
  240. ;;      LoadDll [DLL1] qwiz.dll
  241. ;;      CallDLL [DLL1] GetWindowsMode [Number2]
  242.                 [string4] := W
  243.                 SetDefaultBitmap off
  244.                   SetBackdrop off
  245.         ShowWindow Maximize
  246.               ;;  loadbitmap 1 [InstallFromDirectory]\dosmouse.bmp
  247.               ;;  ShowBitMap 1 @xy(0,0)
  248.         else
  249.            Do Stop_Dos                   
  250.             [string4] := D
  251.             [string2] := DQWIZ
  252.         EndIf
  253.  
  254. EndProcedure
  255.  
  256.  
  257. Procedure Install
  258.         
  259.  
  260.         SetSupportInformation
  261.                 For assistance, please call (404)843-1124 or 
  262.                 (1-800)-367-2509  Monday - Thursday 8:00 am - 7:00 pm
  263.                 Friday 8:00 am - 5:30 pm  Eastern time
  264.                  and ask for Technical Support.
  265.         EndSetSupportInformation
  266.  
  267.  if [Number1]>0
  268.  
  269.            Dialog    Center
  270.                  You must have a DOS-installed mouse driver and at least
  271.                  520k of memory to run the Qwiz Windows 3.1 Tutorial.
  272.           EndDialog                                                       
  273.   
  274.  
  275.    EXIT
  276.   EndIf
  277.  
  278.    if  VGA            
  279.    else
  280.         Dialog    Center
  281.  
  282.                  You must have a VGA monitor for this application.
  283.  
  284.         EndDialog
  285.        Exit
  286.    endif
  287.         SetScreenAttrTo WhiteOnBlue
  288.         SetTopLineTo Qwiz Tutorial Installation        
  289.         DetermineInstallationDrive 5000000  NoGray ShowAdeduqateDrives RequireFixed 
  290.         [string1] := InstallationDrive 
  291.         [InstallationDirectory] := [string1]:\[string2]
  292.         [AdditionalSpaceRequired] := 1000000
  293.         
  294.         SetReplacementInquiry off
  295.      
  296.         CopyFiles  Quietly
  297.            COMPANY.TXT
  298.            readme
  299.         EndCopyFiles
  300.         DeleteFiles from [InstallationDirectory] Quietly
  301.                 qwiz.exe
  302.         EndDeleteFiles
  303.             if Windows
  304.                 QueFiles 
  305.                     Install.bmp
  306.                 EndQueFiles
  307.           
  308.                 SetReplacementInquiry off
  309.                 GetQuedFiles NoThermometer NoInterruption
  310.                 UnloadBitMap 1
  311.                 LoadBitMap 1 [InstallationDirectory]\install.bmp
  312.                 ShowBitMap 1 @xy(0,0)
  313.           
  314.       DeleteFiles from [InstallationDirectory] Quietly
  315.                     INSTALL.BMP
  316.                 EndDeleteFiles
  317.  
  318.         Endif
  319.        QueFiles 
  320.             ID
  321.             TOPICS         
  322.             GR.EXE   
  323.             TOP.CMP   
  324.             PRC.CMP   
  325.             CATEGORY       
  326.             WIN.CMP   
  327.             GVI.CMP   
  328.             FNT.CMP   
  329.             QWIZ.EXE   
  330.             FNT.PRO   
  331.             PROMO.QUE   
  332.             QR.EXE   
  333.             QUE.PRO   
  334.             WIN.PRO   
  335.             GVI.PRO   
  336.         EndQueFiles
  337.  
  338.         
  339.         if [string4] = W
  340.                 QueFiles 
  341.                 [string3].P_[string1]
  342.                 qwiz.ico
  343.                 EndQueFiles
  344.         endif
  345.         GetQuedFiles
  346.          
  347.  
  348.        If [string4] = W
  349.                 DeleteFiles from [InstallationDirectory] Quietly
  350.                         [string3].PIF
  351.                 EndDeleteFiles
  352.                 RenameFile [InstallationDirectory]\[string3].P_[string1] to [string3].PIF
  353.                 BuildProgramGroup "Qwiz" QWIZ.GRP  
  354.                         [InstallationDirectory]\[string3].PIF "Qwiz Windows Training" [InstallationDirectory]\qwiz.ico
  355.                 EndBuildProgramGroup
  356.           else
  357.              ChangeDirectoryTo [InstallationDirectory]
  358.          endif
  359.         If  Windows
  360.                
  361.           Dialog   Center
  362.                  Qwiz Tutorial Installation Complete
  363.  
  364.            EndDialog
  365.         else
  366.            Dialog    Center
  367.                  Qwiz Tutorial Installation Complete
  368.  
  369.                  To start the tutorial type QWIZ at the prompt.
  370.  
  371.           EndDialog
  372.        endif 
  373. EndProcedure
  374.  
  375. Procedure GoodBye
  376.  
  377. EndProcedure
  378.  
  379.  
  380. 
  381.